/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/',
    component: () => import('@/views/layouts/index'),
    redirect: '/auth',
    meta: {
      title: '首页',
      keepAlive: false
    },
    children: [
      {
        path: '/auth',
        name: 'auth',
        component: () => import('@/views/auth'),
      },
      {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/home/index'),
        meta: { title: '首页', keepAlive: false }
      },
      {
        path: '/sim',
        name: 'SIM卡管理',
        component: () => import('@/views/sim/index'),
        meta: { title: 'SIM卡管理', keepAlive: false },
      },
      {
        path: '/sim/add',
        name: '添加SIM卡',
        component: () => import('@/views/sim/addSim'),
        meta: { title: '添加SIM卡', keepAlive: false }
      },
      {
        path: '/realNameList',
        name: '实名认证',
        component: () => import('@/views/realName/index'),
        meta: { title: '实名认证', keepAlive: false }
      },
      {
        path: '/realName',
        name: '实名认证',
        component: () => import('@/views/realName/realName'),
        meta: { title: '实名认证', keepAlive: false }
      },
      {
        path: '/bill',
        name: '余额充值',
        component: () => import('@/views/order/bill'),
        meta: { title: '余额充值', keepAlive: false }
      },
      {
        path: '/order',
        name: '流量订购',
        component: () => import('@/views/order/index'),
        meta: { title: '流量订购', keepAlive: false }
      },
      {
        path: '/order/confirm',
        name: '订单确认',
        component: () => import('@/views/order/confirm'),
        meta: { title: '订单确认', keepAlive: false }
      },
      {
        path: '/order/search',
        name: '流量查询',
        component: () => import('@/views/order/search'),
        meta: { title: '流量查询', keepAlive: false }
      }
    ]
  }
]
